package com.soc.erp.employee;
import org.nature.framework.annotation.Id;
import org.nature.framework.annotation.Table;
import org.nature.framework.annotation.Type;
import org.nature.framework.core.NatureMap;
import org.nature.framework.enums.Strategy;
/**
 * 用户类
 * 
 * 1、实体类，无需GET/SET方法，只需声明数据库字段的名称<p>
 * 2、使用注解控制指定主键@id,支持ADDSELF（数据库自增长）、UUID（框架维护）、ASSIGN（程序员指定id）<p>
 * 3、@Type：按照JAVA语言的基本类型进行设定，无需考虑数据库的字段，还支持默认值，长度设定等，简单快捷<p>
 */
@Table(name = "HR_Employee")
public class Employee extends NatureMap {
	private static final long serialVersionUID = 1L;
	
	//@Id(strategy = Strategy.UUID)
	@Id
	@Type(length="12")
	public static String cEMNo = "cEMNo";
	@Type(length="10")
	public static String cEMName = "cEMName";
	@Type
	public static String cEMPassword = "cEMPassword";
	@Type
	public static String bEMSex = "bEMSex";
	@Type
	public static String cEMDeptNo = "cEMDeptNo";
	
	public static String dEMEntryDate = "dEMEntryDate";
	
	public static String dEMLeaveDate = "dEMLeaveDate";
	@Type
	public static String nEMOnWork = "nEMOnWork";
	
	public static String cEMOfficePhone = "cEMOfficePhone";
	
	public static String cEMPhone = "cEMPhone";
	
	public static String nEMPermit = "nEMPermit";
	
}
